#include <life/lifefilters/geotool.hpp>
#include <iostream>



int main()
{
    using namespace Life;
    double z=0.3;

        GeoTool::Node x1(-1,-1,-1);
        GeoTool::Node x2( 1,-1,-1);
        GeoTool::Node x3( 1, 1,-1);
        GeoTool::Node x4(-1, 1,-1);
        GeoTool::Node x5(-1,-1,z);
        GeoTool::Node x6( 1,-1,z);
        GeoTool::Node x7( 1, 1,z);
        GeoTool::Node x8(-1, 1,z);
        GeoTool::Hexaedre H(0.01,"Hexaedre",x1,x2,x3,x4,x5,x6,x7,x8);
        H.setMarker(_type="line",_name="Arete",_markerAll=true);
        H.setMarker(_type="surface",_name="Interface",_marker2=true);
        H.setMarker(_type="surface",_name="Bord",
                    _marker5=true,
                    _marker3=true,
                    _marker4=true,
                    _marker6=true,
                    _marker1=true);


        H.setMarker(_type="volume",_name="Omega1",_marker1=true);

        std::cout << H.geoStr() <<"\n";
                                       


    return 0;


}
